package io.renren.mark.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.mark.dao.TInfMarkDao;
import io.renren.mark.entity.TInfMarkEntity;
import io.renren.mark.service.TInfMarkService;



@Service("tInfMarkService")
public class TInfMarkServiceImpl implements TInfMarkService {
	@Autowired
	private TInfMarkDao tInfMarkDao;
	
	@Override
	public TInfMarkEntity queryObject(Integer id){
		return tInfMarkDao.queryObject(id);
	}
	
	@Override
	public List<TInfMarkEntity> queryList(Map<String, Object> map){
		return tInfMarkDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return tInfMarkDao.queryTotal(map);
	}
	
	@Override
	public void save(TInfMarkEntity tInfMark){
		tInfMarkDao.save(tInfMark);
	}
	
	@Override
	public void update(TInfMarkEntity tInfMark){
		tInfMarkDao.update(tInfMark);
	}
	
	@Override
	public void delete(Integer id){
		tInfMarkDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		tInfMarkDao.deleteBatch(ids);
	}
	
}
